<?php
	class namhocbs
	{
		public $NamHoc = 0;
		public $HocKy = "";
		
		public function Add()
		{
			$db = new namhocdb();
			return $db->Add($this->HocKy,$this->NamHoc);
		}
		
		public function Delete()
		{
			$db = new namhocdb();
			return $db->Delete($this->NamHoc);
		}
			
		public function GetList()
		{
			$db = new namhocdb();
			return $db->GetList($this->HocKy, $this->NamHoc);
		}
		public function GetListNamHoc()
		{
			$db = new namhocdb();
			return $db->GetListNamHoc($this->NamHoc);
		}
		public function Find()
		{
			$db = new namhocdb();
			return $db->Find($this->HocKy, $this->NamHoc);
		}
	}
?>